package com.ruoyi.ora.domain;

public class GooglePaymentVerificationResponse {


    private boolean valid;  // 验证是否通过
    private String orderId; // Google订单号
    private long purchaseTime; // 购买时间戳


    public GooglePaymentVerificationResponse(
            boolean valid, String orderId, long purchaseTime) {
        this.valid = valid;
        this.orderId = orderId;
        this.purchaseTime = purchaseTime;
    }


    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public long getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(long purchaseTime) {
        this.purchaseTime = purchaseTime;
    }
}
